package com.yango.member;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Li.Ding.yin
 * @create 2021年07月30日22:55-星期五
 * @role 用户模块启动类
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.yango"})
@EnableDiscoveryClient//启用服务注册
@MapperScan("com.yango.member.mapper")
public class MemberApplication {
    public static void main(String[] args) {
        SpringApplication.run(MemberApplication.class, args);
    }
}
